import request from "@/utils/request";

export const getPropertyDataList = (data) => {
    return request({
        url: "/intra/monitor/monitordevicepropertydata/list",
        method: "get",
        params: data,
    });
};
export const delPropertyData = (data) => {
    return request({
        url: "/intra/monitor/monitordevicepropertydata/delete",
        method: "delete",
        data,
    });
};
export const getPropertyDataDetailById = (id) => {
    return request({
        url: `/intra/monitor/monitordevicepropertydata/detail/${id}`,
        method: "get",
    });
};
export const savePropertyData = (data) => {
    return request({
        url: `/intra/monitor/monitordevicepropertydata/submit`,
        method: "post",
        data,
    });
};